from django.urls import path
from .views import *

urlpatterns = [
    # path('users/<str:id>/tea-repo/statistics', UserTeaRepoStatisticsView.as_view()),  # 茶仓首页统计
    # path('users/<str:id>/addresses', UserTeaRepoAddressListView.as_view()),  # 茶仓地址列表
    # path('users/<str:id>/addresses/<str:address_id>', SingleAddressView.as_view()),  # 地址详情
    # path('open-repo', SetTeaRepoOpenRepoView.as_view()),
    # path('users/<str:trade>/trading', GetOrderTradingView.as_view()),  # 交易/列表
    # path('users/<str:id>/trading/detail', DetailOrderTradingView.as_view()),  # 交易/正在卖详情页/茶市
    # path('users/<str:id>/sell/detail', DetailOrderSellView.as_view()),  # 已卖/详情页/茶市
    # path('users/<str:id>/takeout/detail', DetailOrderTakeOutView.as_view()),  # 提仓/详情页/茶市

    path('aliyun/oss/sts/upload/token', RequireAliYunOSSSTSUploadTokenView.as_view()),
    path('aliyun/oss/sts/upload/callback', AliYunOSSSTSUploadCallbackView.as_view()),

]
